package com.shengdong.water

import android.app.Application
import com.alibaba.android.arouter.BuildConfig
import com.hjq.toast.Toaster
import com.kongzue.dialogx.DialogX
import com.shengdong.water.code.router.RouterManager
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
class WaterApp : Application() {
    
    companion object {
        lateinit var instance: WaterApp
            private set
    }
    
    override fun onCreate() {
        super.onCreate()
        instance = this
        Toaster.init(this)
        RouterManager.init(false)
        DialogX.init(this);
    }
}